package com.huangwenshuo.futurestarschoolmanagement.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.huangwenshuo.futurestarschoolmanagement.pojo.dto.UserDto;
import com.huangwenshuo.futurestarschoolmanagement.pojo.po.UsersPo;
import com.huangwenshuo.futurestarschoolmanagement.pojo.vo.Result;
import com.huangwenshuo.futurestarschoolmanagement.pojo.vo.UserInfoVo;
import com.huangwenshuo.futurestarschoolmanagement.pojo.vo.UsersVo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author huangwenshuo
 * @since 2020-12-26
 */
public interface UsersService extends IService<UsersPo> {

    void register(UserDto.RegisterUser registerUser);

    UserInfoVo getUserInfo(Integer uid);

    List<UsersVo> findUsers(String realName, String phone);

    Result uploadRegister(MultipartFile uploadFile);

    Result registerMore(List<UserDto.RegisterUser> registerUsers);

    Result updateUserInfo(UserDto.updateUserInfo updateUserInfo);

    void updateUserPwd(UserDto.updateUserPwd updateUserPwd);
}
